package com.hc.model.code02.test1;

/**
 * @version v1.0
 * @ClassName: SingletonTest
 * @Description: 成员变量创建类方式测试
 * @Author: HC
 */
public class SingletonTest {

    public static void main(String[] args) {
        Singleton singleton1 = Singleton.getInstances();
        Singleton singleton2 = Singleton.getInstances();
        System.out.println(singleton1 == singleton2);

    }

}
